package com.wu.mappers;

import com.wu.pojo.Categories;
import com.wu.pojo.vo.CateGoriesVo;

import java.util.List;

/**
@author sun
@date 2022/3/27 - 23:04
*/
public interface CategoriesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Categories record);

    int insertSelective(Categories record);

    Categories selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Categories record);

    int updateByPrimaryKey(Categories record);

    List<CateGoriesVo> findCategoriesVo(Categories categories);
}
